#ifndef DTT_CALCULATION_GPU_H_
#define DTT_CALCULATION_GPU_H_

#include "render_system.h"
#include "arithmetic.h"


class DttGPUcalc
{
public:
    DttGPUcalc();
    ~DttGPUcalc();

    void calculate();

private:
    void _initShader();
    void _prepareTensorData();

private:
    GPUProgram      _program;
    Texture3DPtr    _pTexDiagonal;
    Texture3DPtr    _pTexOffDiagonal;
    BufferObjectPtr _pSeedVertex;
    glm::vec3       _dim;
};

#endif